package net.zoneland.zrdp.biz.enums;

import lombok.Getter;
import net.zoneland.zrdp.common.enums.BaseEnum;

/**
 * 流程任务状态.
 *
 * @version v1.0
 * @author Pbody
 */
@Getter
public enum ProcessStatus implements BaseEnum<String> {

    DRAFT("0", "拟稿未提交", "未处理"),
    TODO("1", "流转中", "处理中"),
    DONE("2", "结束", "已完成"),
    STOP("3", "停止", "已完成"),
    /**
     * java这边是删除，流程平台的定义是挂起.
     **/
    DELETE("4", "删除", "删除归档");

    /** 枚举值. **/
    private final String value;
    /** 枚举名称. **/
    private final String name;
    /** 归类名称. **/
    private final String hqName;

    ProcessStatus(final String value, final String name, final String hqName) {
        this.value = value;
        this.name = name;
        this.hqName = hqName;
    }
}
